/* ----- Global ----- */
* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	display: grid;
	grid-template-rows: 1fr;
	font-family: "Montserrat", sans-serif;
	background-color: #DDADA1;
}

.main-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    color: #AC6F7A;
    font-family: "Borel", sans-serif;
}

h3 {
	font-size: 0.7em;
	letter-spacing: 1.2px;
	color: #a6a6a6;
}

img {
    max-width: 100%;
    filter: drop-shadow(1px 1px 3px #a6a6a6);
}

/* ----- Product Section ----- */
.product {
	display: grid;
	grid-template-columns: 0.9fr 1fr;
	margin: auto;
	padding: 2.5em 0;
	min-width: 650px;
    min-height: 450px;
	background-color: white;
	border-radius: 5px;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .product {
        grid-template-columns: 1.2fr 1fr;
        min-width: 150px;
    }
}

/* ----- Photo Section ----- */
.product__photo {
	position: relative;
}

.photo-container {
	position: absolute;
	left: -2.5em;
	display: grid;
	grid-template-rows: 1fr;
	width: 100%;
	height: 100%;
	border-radius: 6px;
	box-shadow: 4px 4px 25px -2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .photo-container {
        left: -0.75em;
    }
}

.photo-main {
	border-radius: 6px 6px 0 0;
    background: rgb(255,255,255);
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(229,184,95,1) 87%);
}

.photo-main .controls {
    display: flex;
    justify-content: space-between;
    padding: 0.8em;
    color: #fff;

    i {
        cursor: pointer;
    }
}

.photo-main img {
    position: absolute;
    left: -0.5em;
    top: 2em;
    max-width: 110%;
    opacity: 0.75;
    width: 300px;
    height: 300px;
}

.photo-album {
	padding: 0.7em 1em;
	border-radius: 0 0 6px 6px;
	background-color: #fff;
}

.photo-album ul {
    display: flex;
    justify-content: space-around;
}

.photo-album li {
    float: left;
    width: 55px;
    height: 55px;
    padding: 7px;
    border: 1px solid #a6a6a6;
    border-radius: 3px;
}

li::marker {
    color: rgba(229,184,95,1);
}  

/* ----- Informations Section ----- */
.product__info {
	padding: 0.8em 0;
}

@media (max-width: 600px) {
    .product__info {
        margin-left: 10px;
    }
}

.title h1 {
    margin-bottom: 0.1em;
    color: #4c4c4c;
    font-size: 1.5em;
    font-weight: 900;
}

.title span {
    font-size: 0.7em;
    color: #a6a6a6;
}

.price {
	margin: 1.5em 0;
	color: #5C6D4D;
	font-size: 1.2em;
    font-weight: 600;
}

.price span {
    font-size: 1.25em;
    text-transform: capitalize;
}

.variant {
	overflow: auto;

	li:not(:first-child) {
		margin-left: 0.1em;
	}
}

.variant h3 {
    margin-bottom: 1.1em;
}

.variant li {
    float: left;
    width: 35px;
    height: 35px;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
}

.variant li:first-child,
.variant li:hover {
    border: 1px solid #a6a6a6;
}

.description {
	clear: left;
	margin: 2em 0;
}

.description h3 {
    margin-bottom: 1em;
}

.description ul {
    font-size: 0.8em;
    list-style: disc;
    margin-left: 1em;
}

.description li {
    text-indent: -0.6em;
    margin-bottom: 0.5em;
}

.buy--btn {
	padding: 0.75em 1.5em;
	border: none;
	border-radius: 7px;
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 1.3px;
	color: #fff;
	background-color: #5C6D4D;
	box-shadow: 2px 2px 25px -7px #4c4c4c;
	cursor: pointer;
    margin-left: 0.25em;
    display: none;
}

.buy--btn:active {
    transform: scale(0.97);
}

.buy--btn.cancel {
    background-color: crimson;
    margin-right: 0.25em;
}

input.saisie {
    color: #AC6F7A;
    font-family: "Borel", sans-serif;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
    font-size: 18px;
    width: 90%;
    margin: 10px;
}


/* ----- Footer Section ----- */
header {
	padding: 1em;
	text-align: center;
	color: #fff;
}

header a {
    color: #4c4c4c;
}

header a:hover {
    color: #ff3f40;
}
